Remove deprecated GtkContainer function and macros
authorJavier Jardón <javierjc1982@gmail.com>
Thu, 8 Oct 2009 15:54:55 +0000 (17:54 +0200)
committerJavier Jardón <javierjc1982@gmail.com>
Sat, 10 Oct 2009 14:58:33 +0000 (16:58 +0200)
gtk/gtkcontainer.c
gtk/gtkcontainer.h

index 6563af965fdd509920b0d7541e8e959a6af725e3..76661857eb74a6573916228affe125be44400835 100644 (file)
@@ -1553,36 +1553,6 @@ gtk_container_foreach_unmarshal (GtkWidget *child,
   fdata->callback (fdata->container, fdata->callback_data, 1, args);
 }
 
-void
-gtk_container_foreach_full (GtkContainer       *container,
-                           GtkCallback         callback,
-                           GtkCallbackMarshal  marshal,
-                           gpointer            callback_data,
-                           GDestroyNotify      notify)
-{
-  g_return_if_fail (GTK_IS_CONTAINER (container));
-
-  if (marshal)
-    {
-      GtkForeachData fdata;
-  
-      fdata.container     = GTK_OBJECT (container);
-      fdata.callback      = marshal;
-      fdata.callback_data = callback_data;
-
-      gtk_container_foreach (container, gtk_container_foreach_unmarshal, &fdata);
-    }
-  else
-    {
-      g_return_if_fail (callback != NULL);
-
-      gtk_container_foreach (container, callback, &callback_data);
-    }
-
-  if (notify)
-    notify (callback_data);
-}
-
 /**
  * gtk_container_set_focus_child:
  * @container: a #GtkContainer
index 0bf30b9a2fe20d9ba03b6237d0aebcb2d75c6855..9215bd09a67b5e7384d5bd0b0f88c7e84d9433f2 100644 (file)
@@ -122,19 +122,8 @@ void    gtk_container_check_resize       (GtkContainer     *container);
 void     gtk_container_foreach      (GtkContainer       *container,
                                     GtkCallback         callback,
                                     gpointer            callback_data);
-#ifndef GTK_DISABLE_DEPRECATED
-void     gtk_container_foreach_full (GtkContainer       *container,
-                                    GtkCallback         callback,
-                                    GtkCallbackMarshal  marshal,
-                                    gpointer            callback_data,
-                                    GDestroyNotify      notify);
-#endif /*  GTK_DISABLE_DEPRECATED */
 GList*   gtk_container_get_children     (GtkContainer       *container);
 
-#ifndef GTK_DISABLE_DEPRECATED
-#define gtk_container_children gtk_container_get_children
-#endif
-
 void     gtk_container_propagate_expose (GtkContainer   *container,
                                         GtkWidget      *child,
                                         GdkEventExpose *event);
@@ -220,9 +209,6 @@ GList *_gtk_container_focus_sort             (GtkContainer     *container,
                                              GtkDirectionType  direction,
                                              GtkWidget        *old_focus);
 
-#ifndef GTK_DISABLE_DEPRECATED
-#define        gtk_container_border_width              gtk_container_set_border_width
-#endif /* GTK_DISABLE_DEPRECATED */
 
 G_END_DECLS